public class Test2 {





    public static void main2(String[] args) {
        int a=100;
        int b=100;
        System.out.println(a==b);

        Integer aa=100;
        Integer bb=100;
        System.out.println(aa==bb);
    }

    public static void main1(String[] args) {
        int a=10;
        Integer b=a;//装箱
        System.out.println(a);
        System.out.println(b);
        System.out.println(b==a);

        Integer x=10;
        int y=x;//拆箱
        System.out.println(x);
        System.out.println(y);
    }

}
